import type { RouteRecordRaw } from 'vue-router';

import Layout from '@/layouts/index.vue';

export const draggableRoutes: RouteRecordRaw[] = [
  {
    path: '/draggable',
    name: 'DraggableRoot',
    component: Layout,
    redirect: '/draggable/index',
    meta: {
      icon: 'Notebook3',
      hideBreadcrumb: true,
    },
    children: [
      {
        path: '/draggable/index',
        name: 'DraggableIndex',
        component: () => import('@/views/draggable/index.vue'),
        meta: {
          title: '可拖拽',
        },
      }
    ],
  }
];
